<?php
namespace catchAdmin\basics\model\search;

trait CompanySearch
{
    public function searchCompanyCodeAttr($query, $value, $data)
    {
        return $query->whereLike('company_code', $value);
    }
    public function searchNameCAttr($query, $value, $data)
    {
        return $query->whereLike('name_c', $value);
    }
}